﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Model
{
    /// <summary>
    /// ReResource:实体类(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public partial class ReResource
    {
        public ReResource()
        { }
        #region Model
        private int _id;
        private int? _fatherid;
        private string _resourcename;
        private string _reorginname;
        private int? _techtype;
        private string _retypecode;
        private string _applygrade;
        private string _applysubject;
        private int? _score;
        private int? _timelimit;
        private int? _userid;
        private string _resourcesize;
        private string _resourceformat;
        private DateTime? _uploadtime;
        private int? _origin;
        private bool? _eableshare;
        private bool? _eablestart;
        private bool? _iscompleted = false;
        private bool? _notation = false;
        /// <summary>
        /// 
        /// </summary>
        public int ID
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? FatherID
        {
            set { _fatherid = value; }
            get { return _fatherid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string ResourceName
        {
            set { _resourcename = value; }
            get { return _resourcename; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string ReOrginName
        {
            set { _reorginname = value; }
            get { return _reorginname; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? TechType
        {
            set { _techtype = value; }
            get { return _techtype; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string ReTypeCode
        {
            set { _retypecode = value; }
            get { return _retypecode; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string ApplyGrade
        {
            set { _applygrade = value; }
            get { return _applygrade; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string ApplySubject
        {
            set { _applysubject = value; }
            get { return _applysubject; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? Score
        {
            set { _score = value; }
            get { return _score; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? TimeLimit
        {
            set { _timelimit = value; }
            get { return _timelimit; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? UserID
        {
            set { _userid = value; }
            get { return _userid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string ResourceSize
        {
            set { _resourcesize = value; }
            get { return _resourcesize; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string ResourceFormat
        {
            set { _resourceformat = value; }
            get { return _resourceformat; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime? UploadTime
        {
            set { _uploadtime = value; }
            get { return _uploadtime; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? origin
        {
            set { _origin = value; }
            get { return _origin; }
        }
        /// <summary>
        /// 
        /// </summary>
        public bool? EableShare
        {
            set { _eableshare = value; }
            get { return _eableshare; }
        }
        /// <summary>
        /// 
        /// </summary>
        public bool? EableStart
        {
            set { _eablestart = value; }
            get { return _eablestart; }
        }
        /// <summary>
        /// 
        /// </summary>
        public bool? IsCompleted
        {
            set { _iscompleted = value; }
            get { return _iscompleted == null ? false : _iscompleted; }
        }
        /// <summary>
        /// 
        /// </summary>
        public bool? Notation
        {
            set { _notation = value; }
            get { return _notation; }
        }
        #endregion Model

    }
}
